PreviousNextTracker indexSee it online !

(195/308) 1576 - Updater: needs to elevate permissions to install to system folders

Currently, when someone installs jEdit from debian packages, or if the windows installer puts it to c:\Program Files\, then regular users can not use updater to update the program. It fails because that file system is protected except from administrators.

Updater should check the permissions, and then if it's readonly, do some sort of permissions escalation (which is of course, different on different platforms, but is available as a command line tool on each).

Submitted ezust - 2012-03-25 20:31:39 Assigned
Priority 5 Labels
Status open Group
Resolution None

Comments

2013-02-07 18:16:23
ezust

- **assigned_to**: shlomy --> nobody

2017-03-26 14:42:36.799000
ezust

- **summary**: Updater: error or install to new location on readonly perms --> Updater: needs to elevate permissions to install to system folders
- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -1,7 +1,3 @@
-Currently, when someone installs jEdit from debian packages, or if a superuser installs it to c:\Program Files\, then regular users can not use updater to update the program. It fails because that file system is readonly for regular users.
+Currently, when someone installs jEdit from debian packages, or if the windows installer puts it to c:\Program Files\, then regular users can not use updater to update the program. It fails because that file system is protected except from administrators.

-Updater should check the permissions, and then if it's readonly,
-A dialog should pop up that says "Updater (Java actually) does not have adequate permissions to do this. Would you like to Install to a different folder, or cancel? "
-
-At which point, it should allow the user to cancel or supply a different location to install/run jEdit from.
-
+Updater should check the permissions, and then if it's readonly, do some sort of permissions escalation (which is of course, different on different platforms, but is available as a command line tool on each).

~~~~

- **Group**: -->